import Vue from 'vue'
import Router from 'vue-router'
import Home from '../components/home/index'
import About from '../components/about/about'
import Login from '../components/login/login'
import Register from '../components/login/register'
import Article from '../components/article/index'
import Resume from '../components/resume/index'
import UE from '../components/common/ue'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/home',
      name: 'Home',
      component: Home
    },
    {
      path: '/article',
      name: 'Article',
      component: Article
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/register',
      name: 'Register',
      component: Register
    },
    {
      path: '/about',
      name: 'About',
      component: About
    },
    {
      path: '/resume',
      name: 'Resume',
      component: Resume
    },
    {
      path: '/ue',
      name: 'UE',
      component: UE
    }
  ]
})
